<?php
/* Smarty version 3.1.30-dev/18, created on 2016-01-12 19:41:33
  from "C:\WDApplications\APMServ5.2.6\www\htdocs\wengdo\cms\templates\slide_edit.tpl" */

if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.30-dev/18',
  'unifunc' => 'content_5694e66db21449_32002755',
  'file_dependency' => 
  array (
    'c87eb2fb619c10aada534949d13ea61601e03bc5' => 
    array (
      0 => 'C:\\WDApplications\\APMServ5.2.6\\www\\htdocs\\wengdo\\cms\\templates\\slide_edit.tpl',
      1 => 1452598891,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:header.tpl' => 1,
    'file:sidebar.tpl' => 1,
  ),
),false)) {
function content_5694e66db21449_32002755 ($_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<!-- Start: Main -->
<div id="main">
    <?php $_smarty_tpl->_subTemplateRender("file:sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <!-- Start: Content -->
    <section id="content">
        <div id="topbar" class="affix">
            <ol class="breadcrumb">
                <li><a href="index.php"><span class="glyphicon glyphicon-home"></span></a></li>
                <li class="active">修改广告</li>
            </ol>
        </div>
        <div class="container">

            <div class="row">
                <div class="col-md-10 col-lg-8 center-column">
                    <form action="slide_edit.php?page=<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
" method="post" class="cmxform" enctype="multipart/form-data">
                        <input type="hidden" name="adid" value="<?php echo $_smarty_tpl->tpl_vars['slide']->value['adid'];?>
"/>
                        <input type="hidden" name="src" value="<?php echo $_smarty_tpl->tpl_vars['slide']->value['src'];?>
"/>
                        <div class="panel">
                            <div class="panel-heading">
                                <div class="panel-title">修改广告</div>
                                <div class="panel-btns pull-right margin-left">
                                    <a href="slide_list.php" class="btn btn-default btn-gradient dropdown-toggle"><span class="glyphicon glyphicon-chevron-left"></span></a>
                                </div>
                            </div>
                            <div class="panel-body">
                                <div class="col-md-7">
                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">广告名称</span>
                                            <input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['slide']->value['name'];?>
" class="form-control" id="title">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">网址</span>
                                            <input type="text" name="url" value="<?php echo $_smarty_tpl->tpl_vars['slide']->value['url'];?>
"
                                                   class="form-control" id="url">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="input-group"><span class="input-group-addon">是否显示</span>
                                            <span class="isdisplay">
                                                是<input type="radio" name="isdisplay" value="1" class="yes" <?php if ($_smarty_tpl->tpl_vars['slide']->value['isdisplay'] == 1) {?> checked="checked" <?php }?> >
                                                否<input type="radio" name="isdisplay" value="0" class="" <?php if ($_smarty_tpl->tpl_vars['slide']->value['isdisplay'] == 0) {?> checked="checked" <?php }?> >
                                            </span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <input type="file" name="photo"/>
                                    </div>
                                    <div  class="case_edit_thumb">
                                        <span>广告缩略图</span>
                                        <img src="<?php echo $_smarty_tpl->tpl_vars['slide_src']->value;
echo $_smarty_tpl->tpl_vars['slide']->value['src'];?>
" alt="cfsadvsda"/>
                                    </div>

                                </div>
                                <div class="col-md-7">
                                    <div class="form-group">
                                        <input type="submit" value="提交" name="dosubmit" class="submit btn btn-blue">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
    </section>
    <!-- End: Content -->
</div>
<!-- End: Main -->
<link type="text/css" rel="stylesheet" href="umeditor/themes/default/_css/umeditor.css">
<?php echo '<script'; ?>
 src="umeditor/umeditor.config.js" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="umeditor/editor_api.js" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="umeditor/lang/zh-cn/zh-cn.js" type="text/javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
    var ue = UM.getEditor('myEditor', {
        autoClearinitialContent: false,
        wordCount: false,
        elementPathEnabled: false,
        initialFrameHeight: 300
    });
<?php echo '</script'; ?>
>
</body>

</html><?php }
}
